package com.neusoft.elmboot.service;

import java.util.List;

import com.neusoft.elmboot.po.PointRollover;

public interface PointService {
	
	public Object getPointByUserId(String userId);
	
	public int createPoint(int orderId,String userId);
	
	public int consumePoint(int orderId,String userId);
	
	public int consumePointByAmount(String userId,int amount);
	
	public List<PointRollover> getCreatedPointsByUserId(String userId);
	
	public List<PointRollover> getConsumedPointsByUserId(String userId);
	
	public List<PointRollover> getPointsByUserId(String userId);
}
